package com.zhiwei.service;

import com.zhiwei.mapper.TraderMapper;
import com.zhiwei.pojo.Trader;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TraderServiceImpl implements TraderService{
    @Autowired
    private TraderMapper traderMapper;

    @Override
    public Trader getTrader(Integer traderId) {
        return traderMapper.selectById(traderId);
    }
}
